﻿<!DOCTYPE
    html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>

    <script id="businessUnitView" type="text/html">

        <div rajon:vModelClass="BusinessUnit" class="unit">
            
            <a href="#" onclick="Rajon.getParentViewModel(this).openLevel()"><img rajon:bind="UnitImage()"/></a>
            
            <span rajon:bind="model.UnitName"></span>            
            <div    style="display: none"
                    rajon:datacontext="OrderService/BusinessUnits/?unitParentId={vmodel.UnitId}" rajon:bindsOn="manual"
                    rajon:itemView="businessUnitView"
                    rajon:restCache="session">
            </div>
        </div>

    </script>

    <link href="css/style.css" rel="stylesheet" type="text/css"/>

    <script type="text/javascript" src="js/jquery-1.5.min.js" ></script>
    <script type="text/javascript" src="js/Rajon.js"></script>    
    <script type="text/javascript" src="ViewModel/BusinessUnit.js"></script> 
    

    

    
</head>
<body>

    <!-- TREE -->    
    <div    
            rajon:datacontext="OrderService/BusinessUnits/"
            rajon:itemView="businessUnitView"
            rajon:restCache="browser">
    </div>

    
</body>

</html>
